package com.lzh.exer1;

public class Cylinder extends Circle {
	
	private double length;

	public Cylinder() {
		length = 1.0;
	}

	public double getLength() {
		return length;
	}

	public void setLength(double length) {
		this.length = length;
	}
	
	//返回圆柱的体积
	public double findVolume() {
		return findArea() * getLength();
	}
	
}
